//
//  ImcomeManageViewController.m
//  BaseProject
//
//  Created by 王洋 on 2020/7/10.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "IncomeDetailsViewController.h"
#import "WithDrawalRecordViewController.h"
#import "ApplyWithDrawalViewController.h"

#import "ImcomeManageViewController.h"

@interface ImcomeManageViewController ()

@property (weak, nonatomic) IBOutlet UILabel *moneyLab;

@property (weak, nonatomic) IBOutlet UIView *IncomeDetailsControl;

@property (weak, nonatomic) IBOutlet UIView *WithDrawalRecordControl;

@end

@implementation ImcomeManageViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.title = @"收入管理";
    
    self.IncomeDetailsControl.userInteractionEnabled = YES;
    self.WithDrawalRecordControl.userInteractionEnabled = YES;
    
    WEAKSELF
    [self.IncomeDetailsControl addGestureTapEventHandle:^(id  _Nonnull sender, UITapGestureRecognizer * _Nonnull gestureRecognizer) {
        IncomeDetailsViewController *vc = [[IncomeDetailsViewController alloc] init];
        [weakSelf.navigationController pushViewController:vc animated:YES];
        
    }];
    
    [self.WithDrawalRecordControl addGestureTapEventHandle:^(id  _Nonnull sender, UITapGestureRecognizer * _Nonnull gestureRecognizer) {
        WithDrawalRecordViewController *vc = [[WithDrawalRecordViewController alloc] init];
        [weakSelf.navigationController pushViewController:vc animated:YES];
    }];
}

- (IBAction)applyAction:(id)sender {
    
    ApplyWithDrawalViewController *vc = [[ApplyWithDrawalViewController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)normalProblemAction:(id)sender {
    
    
    
}




@end
